package com.woniu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@EnableFeignClients
@EnableRedisRepositories(basePackages = "com.woniu.outlet.redis")
@EnableElasticsearchRepositories(basePackages = "com.woniu.outlet.elasticSearch")
public class FinanceProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(FinanceProductApplication.class, args);
    }

}
